home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 April: Mac OS SDK / Dev.CD Apr 96 SDK / Dev.CD Apr 96 SDK2.toast / Development Kits (Disc 2) / QuickTime / Programming Stuff / Documentation / develop articles / develop Issue 14 / Derived Media Handlers code / MyMediaComponent / MyMemory.h < prev    next >
Encoding:
Text File  |  1993-02-25  |  835 b   |  26 lines  |  [TEXT/KAHL]

  1. //--------------------------------------------------------------------------
  2. //
  3. //        MyMemory.h
  4. //            by John Wang
  5. //
  6. //        Version:    1.0        05/22/92    Completed.
  7. //                    1.01    11/03/92    Cleaned up.
  8. //                    1.02    01/13/93    Fixed broken MyDisposeHandle and MyDisposePtr from 1.01
  9. //                    1.03    01/31/93    Added MyGetHandleSize which returns 0 if nil handle
  10. //                    1.04    02/25/93    Hopefully last 1.0
  11. //
  12. //--------------------------------------------------------------------------
  13.  
  14.  
  15. //--------------------------------------------------------------------------
  16.  
  17. //    Prototypes.
  18.  
  19. pascal Handle MyNewHandle(Size byteCount);
  20. pascal Handle MyNewHandleClear(Size byteCount);
  21. pascal void MyDisposeHandle(Handle *h);
  22. pascal long MyGetHandleSize(Handle h);
  23. pascal Ptr MyNewPtr(Size byteCount);
  24. pascal Ptr MyNewPtrClear(Size byteCount);
  25. pascal void MyDisposPtr(Ptr *p);
  26.